import 'dart:developer' as developer;

import 'package:flutter/foundation.dart';
class LogUtil{
  ///标准输出，输出到studio的logcat
  ///和flutter DevTools logging
  static void stdPrint(Object? object){
    if(kDebugMode){
      print(object);
    }
  }

  ///dart 的日志方法，输出到flutter DevTools logging
  static void log(String tag, String msg){
    developer.log(tag,name: msg);
  }

}